home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 03 - 1987 / 03.01 Jan 87 / c source / abc.h next >
Encoding:
C/C++ Source or Header  |  1986-08-17  |  545 b   |  29 lines  |  [TEXT/KAHL]

  1. /* abc.h 
  2.  *
  3.  * Local definitions to improve readability
  4.  *
  5.  */
  6.  
  7. #define    True        1
  8. #define    False        0
  9. #define    Nil        0
  10. #define and        &&
  11. #define or        ||
  12. #define    not        !
  13. #define equals        ==
  14. #define notequal    !=
  15.  
  16.  
  17. /* unsigned char,longs, shorts
  18.  *    (unsigned longs may not be 
  19.  *     available with all compilers
  20.  */
  21. #define    uchar        unsigned char
  22. #define    ushort        unsigned short
  23. #define    ulong        unsigned long
  24.  
  25.  
  26. /* General purpose external routines */
  27.  
  28. extern    char    *CtoPstr();    /* String conversion routines */
  29. extern    char    *PtoCstr();    /* return a pointer to a char */